package com.internetplus.webcore.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * @ClassName DemoController
 * @Description A demo to test
 * @Author AlvinZheng
 * @Date 2020/8/31 22:47
 * @Version 1.0
 **/
@Controller
@RequestMapping("/demo")
public class DemoController {

    @RequestMapping("/simple_test")
    @ResponseBody
    public String simpleTest(){
        return "hello word";
    }

}
